/*
 * Copyright (c) 2024, Alibaba Cloud;
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.aliyun.dataworks.migrationx.domain.dataworks.dolphinscheduler.v1.v139.entity;

import java.util.List;

/**
 * resource info
 */
public class ResourceInfo {
    private Integer id;
    private Integer pid;
    /**
     * res the name of the resource that was uploaded
     */
    private String name;
    private String res;
    private String fullName;
    private String type;
    private List<ResourceInfo> children;
    private String idValue;
    private Boolean directory;
    private String description;

    private String resourceName;

    public Integer getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRes() {
        return res;
    }

    public void setRes(String res) {
        this.res = res;
    }

    public ResourceInfo setId(Integer id) {
        this.id = id;
        return this;
    }

    public Integer getPid() {
        return pid;
    }

    public ResourceInfo setPid(Integer pid) {
        this.pid = pid;
        return this;
    }

    public String getFullName() {
        return fullName;
    }

    public ResourceInfo setFullName(String fullName) {
        this.fullName = fullName;
        return this;
    }

    public String getType() {
        return type;
    }

    public ResourceInfo setType(String type) {
        this.type = type;
        return this;
    }

    public List<ResourceInfo> getChildren() {
        return children;
    }

    public ResourceInfo setChildren(
            List<ResourceInfo> children) {
        this.children = children;
        return this;
    }

    public String getIdValue() {
        return idValue;
    }

    public ResourceInfo setIdValue(String idValue) {
        this.idValue = idValue;
        return this;
    }

    public Boolean getDirectory() {
        return directory;
    }

    public ResourceInfo setDirectory(Boolean directory) {
        this.directory = directory;
        return this;
    }

    public String getDescription() {
        return description;
    }

    public ResourceInfo setDescription(String description) {
        this.description = description;
        return this;
    }

    public String getResourceName() {
        return resourceName;
    }

    public void setResourceName(String resourceName) {
        this.resourceName = resourceName;
    }
}
